258
Apache prior 2.0.49 mod_perl file descriptor leakage
HTTP
2004/09/21
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
Marc Ruef
marc dot ruef at computec dot ch
http://www.computec.ch
computec.ch
2004/11/14
2.0
Corrected the plugin structure and added the accuracy values in 1.1. Improved the pattern matching and introduced the plugin changelog in 2.0
tcp
80
open|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] ### *Server: Apache/[0-1].* OR HTTP/1.[0-1] ### *Server: Apache/2.0.[0-3]* OR HTTP/1.[0-1] ### *Server: Apache/2.0.4[0-8]*
80
This plugin was written with the ATK Attack Editor.
Steve Grubb
linux_4ever at yahoo dot com
2004/01/21
http://www.securityfocus.com/archive/1/350648
Apache Software Foundation
apache at apache dot org
http://httpd.apache.org
Apache prior 2.0.49 with mod_perl
Apache 2.0.49 and newer or other solutions
Configuration
The remote host is running an Apache web server. It has been reported that in Apache web server prior 2.0.49 has a file descriptor leakage in the module mod_perl. This issue could be exploited by an attacker to hijack a vulnerable server daemon. Other attacks are also possible.
If the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Alternation of the application banner can confuse an attacker and let him determine the wrong software. Additionally limit unwanted connections and communications with firewalling.
Approx. 2 hours
Yes
http://www.securityfocus.com/archive/1/350648
Yes
Yes
Medium
5
8
7
6
A proof-of-concept written in Perl has been attached at the Bugtraq posting. A copy of that is also available at http://www.securityfocus.com/bid/9471/exploit/
9471
10697
http://www.securiteam.com/unixfocus/5LP0Q0KBPA.html
489
43882
Hacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
http://www.computec.ch